package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huabo.audit.config.IgnoreSwaggerParameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_NBSJ_LEAVEMEETING")
@Data
@ApiModel("离场纪要实体类")
@Accessors(chain = true)
public class TblNbsjLeavemeetingEntity {
	
	public final static Integer NO_DEL=0;//未删除
	public final static Integer YE_DEL=1;//已删除

	@TableId(value = "leaveid", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private BigDecimal leaveid;

    @TableField(value = "leavecoed")
    @ApiModelProperty(value = "")
    private String leavecoed;
    
    @TableField(value = "leavename")
    @ApiModelProperty(value = "")
    private String leavename;
    
    @TableField(value = "creatrtime")
    @ApiModelProperty(value = "")
    @DateTimeFormat(pattern = "yyyy-MM-dd", iso = DateTimeFormat.ISO.DATE_TIME)
    private Date creatrtime;
    
    @TableField(value = "content")
    @ApiModelProperty(value = "")
    private String content;
    
	@TableField(value = "tblCreater")
    @ApiModelProperty(value = "", hidden = true)
	@IgnoreSwaggerParameter
    private TblStaff tblCreater;
	
	@TableField(value = "project")
    @ApiModelProperty(value = "", hidden = true)
	@IgnoreSwaggerParameter
    private TblNbsjProject project;
	
	@TableField(value = "status")
    @ApiModelProperty(value = "", hidden = true)
	@IgnoreSwaggerParameter
    private Integer status;
	
	@TableField(value = "tblLeaveAtts")
    @ApiModelProperty(value = "", hidden = true)
	@IgnoreSwaggerParameter
    private Set<TblAttachment> tblLeaveAtts;
	
	@TableField(value = "createstaffid")
    @ApiModelProperty(value = "", hidden = true)
	@IgnoreSwaggerParameter
    private String createstaffid;
}
